set(client_base_src src/client_base.c src/client_log.c)

add_library(client_base_obj OBJECT ${client_base_src})

target_include_directories(client_base_obj PUBLIC inc)
target_include_directories(client_base_obj PRIVATE ${SE_BASE_SERVICES_DEFAULT_INC})
target_compile_options(client_base_obj PRIVATE ${SE_BASE_SERVICES_DEFAULT_CC})
target_link_libraries(client_base_obj PRIVATE se_base_services_defines)
target_link_libraries(client_base_obj PRIVATE logger_obj)

if(OPTION_SECUREC_INDEPENDENT)
    message(STATUS "client_base_obj use independent secure c.")
    target_link_libraries(client_base_obj PRIVATE securec_interface)
endif()
